import React from 'react';
import './../assets/css/main';
import {observer,inject} from 'mobx-react';

@inject('demoStore')
@observer
export default class Progress extends React.Component {

    componentWillReact(){
        console.log('进度条-数据被更新');
    };
    render() {
        return (
                <progress className={'todo-box-progress'} value={this.props.demoStore.num} max="100"></progress>
        )
    }
}

